import { axios } from '@/utils/request'
/**
 * @description 店铺分账明细导出
 */
export const divideCollectExport = '/admin/divide/detail/store_collect/export'
/**
 * @description 投资回报店铺汇总导出
 */
export const divideDetailExport = '/admin/divide/detail/store_detail/export'

/**
 * 店铺每日营收 下载模版：storeRevenueExport、导入：storeRevenueImport
 */
export const storeRevenueExport = process.env.VUE_APP_API_BASE_URL + '/admin/store/daily/revenue/template_download'
export const storeRevenueImport = '/admin/store/daily/revenue/import'

/**
 * 店铺 下载模版：storeRevenueExport、导入：storeRevenueImport
 */
export const storeExport = process.env.VUE_APP_API_BASE_URL + '/admin/store/template_download'
export const storeImport = '/admin/store/import'

export function downloadRequire(url,parameter){
  return axios({
    url,
    method: 'post',
    data: parameter
  })
}

/**
 * 短剧导入
 */
export const ShortVidoeImport = "/backvd/video/import"